/*
 * @Author: leonard
 * @Date: 2024-12-31 22:18:18
 * @LastEditors: leonard 1287279970@qq.com
 * @LastEditTime: 2025-01-04 01:31:18
 * @FilePath: /amap-admin/src/config/config.js
 * @Description: 
 * 
 * Copyright (c) 2024 by flyray Technology CO., Ltd, All Rights Reserved. 
 */
const config = {
  // 高德地图配置
  mapConfig: {
    version: process.env.REACT_APP_AMAP_VERSION || '2.0.5',
    akey: process.env.REACT_APP_AMAP_KEY || 'a7a90e05a37d3f6bf76d4a9032fc9129',
    protocol: 'https',
    useAMapUI: true,
    plugin: [
      'AMap.Scale',
      'AMap.ToolBar',
      'AMap.ControlBar',
      'AMap.Geolocation',
      'AMap.GeometryUtil'
    ]
  },
  // 默认地图中心点
  defaultCenter: [120.1551, 30.2539],
  // 默认缩放级别
  defaultZoom: 13,
};

export default config;